Responsive Web Design without Tears: Design Mobile Websites by David Hutchful

Responsive Web Design without Tears: Design Mobile Websites by David Hutchful

Author:David Hutchful [Hutchful, David]
Language: eng
Format: azw3
Published: 2017-06-17T04:00:00+00:00


Chapter 50

HTML Form Input Types

The input tag is the most important part of the form. It comes in a range of formats.

<input type="text"> or simply <input> is a standard textbox and defines a one-line text input field:

<form>

First name:<br>

<input type="text" name="firstname"><br>

Last name:<br>

<input type="text" name="lastname">

</form>

RESULT:

First name:

Last name:

<input type="password"> defines a password field: similar to the textbox, but the characters typed in by the user will be hidden.

<form>

User name:<br>

<input type="text" name="username"><br>

User password:<br>

<input type="password" name="psw">

</form>

RESULT:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.